package com.example.client.service;

import com.example.client.domain.Address;
import com.example.client.pojo.Result;

import java.util.List;

public interface AddressService {

    public Result<List<Address>> getAddresses(String username);

    public Result updateAddressByAddressId(Address address, Integer address_id);

    public Result insertAddress(Address address, String username);

    public Result deleteAddress(Integer address_id);
}
